/**
 * Copyright (c) 2014- 2015 YCY Group Holding Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package com.jkwzms.common;

/**
 * <p>
 * User: Jack Liang
 * <p>
 * Date: 13-2-7 下午5:14
 * <p>
 * Version:1.0.0
 */
public interface Constants {

    /**
     * 操作名称
     */
    String                     OP_NAME                    = "op";

    /**
     * 消息key
     */
    String                     MESSAGE                    = "message";

    /**
     * 错误key
     */
    String                     ERROR                      = "error";

    /**
     * 上个页面地址
     */
    String                     BACK_URL                   = "BackURL";

    String                     IGNORE_BACK_URL            = "ignoreBackURL";

    /**
     * 当前请求的地址 带参数
     */
    String                     CURRENT_URL                = "currentURL";

    /**
     * 当前请求的地址 不带参数
     */
    String                     NO_QUERYSTRING_CURRENT_URL = "noQueryStringCurrentURL";

    String                     CONTEXT_PATH               = "ctx";

    /**
     * 当前登录的用户
     */
    String                     CURRENT_USER               = "user";
    String                     CURRENT_USERNAME           = "username";

    String                     ENCODING                   = "UTF-8";
    /**
     * 获取查询参数
     */
    public static final String SEARCH_PREFIX              = "search.";
}
